package xyz.fuqufyb.aec.dao;

import org.apache.ibatis.annotations.Param;
import xyz.fuqufyb.aec.entity.AdminUser;

import java.util.List;
import java.util.Map;

public interface AdminUserMapper {

    List<AdminUser> selectUserList(Map<String, Object> maps);

    int deleteByPrimaryKey(Integer id);

    int insert(AdminUser record);

    int insertSelective(AdminUser record);

    AdminUser selectByPrimaryKey(Integer id);

    AdminUser selectByEmail(@Param("email") String email);

    int updateByPrimaryKeySelective(AdminUser record);

    int updateByPrimaryKey(AdminUser record);

    int deleteByUserIds(@Param("ids") List<Integer> ids);
}